#include <iostream>

using namespace std;

int main(int argc, char * argv[])
{
	int a,b;
	cout << "Enter value for A and B" << endl;
	cin >> a >> b;
	if(a==0)
	{
		cout << "There are no valid values for X" << endl;
		return 1;
	}
	if(b/a == -1)
	{
		cout << "There are infnite proper values for X" << endl;
		return 1;
	}
	cout << "The value for X is " << b/a << endl;
	return 0;
}
